@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
  .desc {
    color: $descColor;
  }
  .time {
    color: rgba(#222, 0.3);
  }
  .blue {
    color:#005dd6;
  }
  .red {
    color: $red;
    &.el-button--text {
      color: $red;
    }
  }
  .yellow {
    color: $yellow;
  }
  .green {
    color: $green;
  }
  .tox-tinymce-aux {
    z-index: 13001;
  }
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
img {
  vertical-align: middle;
}
p,
li {
  padding: 0;
  margin: 0;
}

// main-container global css
.app-container {
  padding: 20px;
}

.container {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  .main {
    flex: 1;
  }
  .header,
  .footer {
    flex: none;
  }
  .footer {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 28px;
    margin-top: 28px;
    min-height: 60px;
    background-color: #ffffff;
    border-radius: $radius;
  }

  .errmsg_box {
    display: none;
  }
  .span-2 {
    display: inline-block;
    width: 50%;
  }
  .span-3 {
    display: inline-block;
    width: 33.333%;
  }
}
.el-dialog {
  // 预览信息卡片
  .info_card {
    background-color: #f0f2f8;
    border: 1px solid;
    border-color: #7691bd;
    border-radius: 18px;
    padding: 16px 28px 20px;
    .info_item {
      display: flex;
      border-bottom: 1px solid rgba(#7691bd, 0.5);
      padding: 8px 0;
    }
    .info_name {
      flex: none;
      width: 100px;
      font-size: 14px;
      color: rgba(#222, 0.8);
    }
  }
  // 缩略图
  .thumbnail_wrap {
    width: 200px;
    height: 200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  // 回复
  .reply_ipt {
    margin-bottom: 10px;
    .el-form-item__content {
      display: flex;
      align-items: center;
      font-size: 16px;
    }
    b {
      padding: 0 10px;
    }
    .time {
      padding-right: 10px;
    }
  }
}

.el-card {
  .table_tool {
    padding-bottom: 28px;
  }
}

.custom_select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  i {
    margin-left: 10px;
    font-size: 18px;
  }
}
